package cz.proks.schoolpupilbook.gwt.widget.lector;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Widget;

import cz.proks.schoolpupilbook.gwt.widget.common.LectorView;
import cz.proks.schoolpupilbook.gwt.widget.common.LoggedUserPanel;

public class LectorWidget extends Composite {
	interface LectorWidgetUiBinder extends UiBinder<Widget, LectorWidget> {
	}
	
	private static LectorWidgetUiBinder uiBinder = GWT.create(LectorWidgetUiBinder.class);	
	
	@UiField LoggedUserPanel loggedUserPanel;
	@UiField LectorView lectorView;
	
	public LectorWidget() {
		initWidget(uiBinder.createAndBindUi(this));
	}

	public LoggedUserPanel getLoggedUserPanel() {
		return loggedUserPanel;
	}

	public LectorView getLectorView() {
		return lectorView;
	}
}
